All Questions
4 questions
1vote
1answer
251views
LeetCode 399: Evaluate Division
I'm posting my C++ code for LeetCode's Evaluate Division. If you have time and would like to review, please do so. Thank you! Problem Equations are given in the format A / B = k, where A and B are ...
8votes
3answers
336views
Integrator 2.0: A Simple Integrator in C++17
This is a follow up of A simple definite integrator class of a single variable in C++. I took most of the advice from Emma X and some from sudo rm -rf slash. Here is my fully revised code: Integrator....
5votes
2answers
2kviews
A simple definite integrator class of a single variable in C++
I have written a simple Integrator class in C++17 that can perform either a definite single integration of a single variable or a definite double integration of a ...
2votes
2answers
112views
Permutation generator with OR operator
Problem: Given a vector of strings, I want to print out all possible permutations where the strings may contain an OR operator (the | character, as in regular ...